<?php
/**
 * Created by PhpStorm.
 * User: zhangrxiang
 * Date: 2016/12/9
 * Time: 10:30
 */

//$ip = getenv('REMOTE_ADDR');
//echo $ip;



$sessionid = $_COOKIE['PHPSESSID'];
echo $sessionid;
//$GLOBALS = [];
echo "<pre>";
//var_dump($GLOBALS['_COOKIE']);
var_dump($_ENV);
